<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
	</head>
	<body>
		<div id="app">
			<h3>单选下拉框</h3>
			<select v-model="work">
				<option value="" disabled>选择岗位</option>
				<option>前端开发</option>
				<option>后端开发</option>
				<option>软件测试</option>
				<option>运营部署</option>
			</select>
			<br />
			你选择的岗位是:{{work}}
			<h3>多选下拉框</h3>
			<select v-model="tech" multiple>
				<option value="" disabled>选择擅长的技术</option>
				<option>js</option>
				<option>vue</option>
				<option>vb</option>
				<option>test</option>
			</select>
			<br />
			你选择的技术是:{{tech}}
		</div>
		
		<script>			
			var app = Vue.createApp({
				data(){
					return {
						work: '',
						tech: [],
					}
				}
			}).mount("#app");
		</script>
	</body>
</html>
